package first.endtoend

class TraceDetail
{

    float qteRecovered // quantity of product retrieved during the transaction
    static belongsTo = [product: Product, trace: Trace]

    static constraints = {
        product(nullable: true)
        trace(nullable: true)
        qteRecovered(nullable: false)
    }
}
